import request from '@/utils/request'

/**
 * 分页查询
 */
export function pagingThirdGoodsSyncHistory(params) {
  return request({
    url: '/third/thirdGoodsSyncHistory/pagingThirdGoodsSyncHistory',
    method: 'get',
    params
  })
}

/**
 * 获取api商品详情并转换
 */
export function getDetailByConvertGoods(goodsSyncHistoryId) {
  return request({
    url: '/third/thirdGoodsSyncHistory/getDetailByConvertGoods',
    method: 'get',
    params: { goodsSyncHistoryId }
  })
}

